package com.market.web.model;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

import com.market.domain.Promotion;

@Component("promotionModel")
@Scope("session")
public class PromotionModel extends GenericModel<Promotion> {

	@Override
	public Promotion getNewObject() {
		Promotion promotion = new Promotion();
		promotion.setIsNew(true);
		this.setCurrent(promotion);
		return promotion;
	}

}
